<template>
  <span></span>
</template>
<script setup lang="ts">
  import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
  import { Modal } from 'ant-design-vue';
  import { h } from 'vue';

  defineExpose({
    show() {
      Modal.confirm({
        title: '提示====',
        icon: h(ExclamationCircleOutlined),
        content: '确认删除吗？',
        okText: '确认',
        cancelText: '取消',
      });
    },
  });
</script>
<style lang="less" scoped></style>
